package com.wujw.auto.parameter;
/*   
 * Copyright (c) 2010-2020 Founder Ltd. All Rights Reserved.   
 *   
 * This software is the confidential and proprietary information of   
 * Founder. You shall not disclose such Confidential Information   
 * and shall use it only in accordance with the terms of the agreements   
 * you entered into with Founder.   
 *   
 */

/**   
 * 常量接口
 * @author wujw  
 * @version   
 *       1.0, 2017年11月18日   
 */
public interface CommonParameter {
    /** 连接的是oracle*/
    public final static String JDBC_TYPE_ORACLE = "oracle";
    /** 连接的是mysql*/
    public final static String JDBC_TYPE_MYSQL = "mysql";
    
    public final static String ORACLE_TABLESTRCUT_SQL="select a.data_type as column_type,a.column_name,b.comments as column_comment from all_col_comments b,all_tab_columns a WHERE a.TABLE_NAME=b.TABLE_NAME AND a.column_name=b.column_name AND a.TABLE_NAME='";
    public final static String MYSQL_TABLESTRCUT_SQL="select column_name,column_comment,column_type from information_schema.columns where table_name = '";
    
    public final static String COLUMN_NAME = "column_name";
    public final static String COLUMN_TYPE = "column_type";
    public final static String COLUMN_COMMENT = "column_comment";
}
